Conversation
| {% if experiment.is_rollout %} | ||
| <td id="delivery-type-rollout" class="p-2 border-1">Rollout</td> | ||
| {% else %} | ||
| <td id="delivery-type-experiment" class="p-2 border-1">Experiment</td> | ||
| {% endif %} |
There was a problem hiding this comment.
we have this now and we can re use this
| <td id="delivery-channel" class="p-2 border-1">{{ experiment.get_channel_display }}</td> | ||
| <td id="delivery-min-version" class="p-2 border-1">{{ experiment.firefox_min_version|parse_version }}</td> | ||
| <td id="delivery-population-percent" class="p-2 border-1">{{ experiment.population_percent|floatformat:"-1" }}</td> | ||
| <td id="delivery-brief" class="p-2 border-1">{{ experiment.delivery_brief|format_not_set }}</td> |
There was a problem hiding this comment.
also I see that you are applying the same class p-2 border 1 if we move that class up then we wont need to define for each column
There was a problem hiding this comment.
So you just want the row defined with a border?
There was a problem hiding this comment.
I believe if you will move to the row that css, this should apply to all
There was a problem hiding this comment.
Like this? <tr scope="row" class="p-2 border-1">, this seems to just do the row, but not each column in that row.
There was a problem hiding this comment.
I think we can skip the borders, if you will notice the other table, we don't use the borders, I would suggest to refer to home page table to be consistent with the design between the pages
There was a problem hiding this comment.
Our plan is to use this table on the landing page as well in the future
yashikakhurana
left a comment
There was a problem hiding this comment.
I think we need to remove borders, it is showing 2 borders now, lets say consistent with the design of tables with the home page. Also noticed 2 bugs
1: Look how it is showing the selected feature, if I select that feature again it is not showing any deliveries
Screen.Recording.2025-09-16.at.9.47.01.AM.mov
2: If you select the different application, deliveries data is not getting changed, it is still showing the old data
Screen.Recording.2025-09-16.at.9.47.22.AM.mov
|
@b4handjr It is looking really amazing, some minor suggestions would be like to add the same kind of background where we are choosing application and features too |
yashikakhurana
left a comment
There was a problem hiding this comment.
Thank you @b4handjr it is all coming up together, UI is looking really great, found 2 issues, first if I select the application and feature which have experiments available, it shows in the table, but if I change the application it is not updating the deliveries table, you would need to use htmx-target and such as to achieve that, second thing if we dont have experiments available having a message will help such as No deliveries found
Untitled.mov
| choices = [("", "Nothing Selected")] # Add a default blank field. | ||
| choices.extend( |
There was a problem hiding this comment.
I think you can skip this setting manually Nothing selected option, you can refer to locales, countries and channels etc fields they show nothing selected option by default
| {% for experiment in experiments %} | ||
| <tr scope="row"> | ||
| <td id="delivery-name"> | ||
| <a target="_blank" | ||
| href="{% url 'nimbus-ui-detail' slug=experiment.slug %}" | ||
| class="text-decoration-none fw-medium">{{ experiment.name }}</a> | ||
| </td> | ||
| <td id="delivery-published-date">{{ experiment.published_date|format_not_set }}</td> | ||
| <td id="delivery-type-{{ experiment.home_type_choice }}">{{ experiment.home_type_choice }}</td> | ||
| <td id="delivery-channel">{{ experiment.get_channel_display }}</td> | ||
| <td id="delivery-min-version">{{ experiment.firefox_min_version|parse_version }}</td> | ||
| <td id="delivery-population-percent">{{ experiment.population_percent|floatformat:"-1" }}</td> | ||
| <td id="delivery-brief">{{ experiment.delivery_brief|format_not_set }}</td> | ||
| {% endfor %} | ||
| </tr> |
There was a problem hiding this comment.
Here can you add a check if no experiment is found matching the desktop and feature configuration to show No deliveries found message
yashikakhurana
left a comment
There was a problem hiding this comment.
ok
okay tested locally and it seems like we cant set ultil we manually set Nothing selected, @b4handjr can you add back nothing selected option and the bug that I see that because it is already selected and not showing the table accordingly until I select it again https://github.com/user-attachments/assets/49b931cc-be8c-4b28-b72c-86720edd489f
option 1- add nothing selected manually
option 2- dont even select the application, then it will not show the features default selected
yashikakhurana
left a comment
There was a problem hiding this comment.
perfect, thank you @b4handjr





Because
This commit
Fixes #13485 #13610